package com.dog.basics.bean.dto.api.mtkj;

import com.dog.basics.bean.dto.BaseUtilPageDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * @author hangdy
 * @description: TODO
 * @date 2020/11/12 10:36
 */
@Data
public class ApiShopListDto {

    @NotNull
    @ApiModelProperty(value = "商铺名称",dataType = "String")
    @Size(min = 1,max = 30,message = "格式不正确")
    private String shopName;

    @ApiModelProperty(value = "是否使用店铺状态字段",dataType = "String", required = false)
    private Boolean needStatus = false;

    @ApiModelProperty(value = "店铺状态",dataType = "String", required = false)
    private Integer status;

    /**
     * 销售数量
     */
    @ApiModelProperty(value = "销售数量 0倒叙 1正序 没有就是没选",dataType = "Integer", required = false)
    private Integer sales;

    /**
     * 店铺评分(0-5)
     */
    @ApiModelProperty(value = "评分 0倒叙 1正序 没有就是没选",dataType = "Integer", required = false)
    private Integer stars;

}
